package com.im.app.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.im.app.manager.UserManager;
import com.im.app.mapper.IUserMapper;
import com.im.app.mapper.TestMapper;
import com.im.app.model.Test;
import com.im.app.model.User;
import com.im.app.service.ITestService;
import com.im.app.service.IUserService;
import org.jim.core.cache.redis.JedisTemplate;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class ITestImpl extends ServiceImpl<TestMapper, Test> implements ITestService {

    @Resource
    private TestMapper testMapper;


    @Override
    public Test selectTestByValue(String value) {
        return testMapper.selectTestByValue(value);
    }

    @Override
    public int insertTest(Test test) {
        return testMapper.insertTest(test);
    }
}
